package jee.boot.common.rest;

import jee.boot.common.basic.CrudController;
import jee.boot.common.basic.result.ResponseMessage;
import jee.boot.common.service.TreeAsignSituationService;
import jee.boot.entity.system.TreeAsignSituation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 树定位情景
 */
@RestController
@RequestMapping("/treeAsignSituation")
public class TreeAsignSituationRestController extends CrudController<TreeAsignSituationService, TreeAsignSituation> {
    @Override
    public ResponseMessage<TreeAsignSituation> save(@RequestBody @Validated TreeAsignSituation entity) {
        return super.save(entity);
    }

    @Override
    public ResponseMessage<TreeAsignSituation> update(@RequestBody @Validated TreeAsignSituation entity) {
        return super.update(entity);
    }
}
